package com.zzyl.service;

import com.aliyun.iot20180120.models.*;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.DevicePageQueryDto;
import com.zzyl.vo.DeviceStatusVo;
import com.zzyl.vo.DeviceVo;
import com.zzyl.vo.ThingModelJsonVo;

import java.util.List;

/**
 * @author sjqn
 */
public interface DeviceService {

    /**
     * 从物联网平台同步产品列表
     */
    void syncProductList();

    Object allProduct();

    void registerDevice(DeviceDto deviceDto);

    PageResponse<DeviceVo> pageQueryDevice(DevicePageQueryDto devicePageQueryDto);

    Object queryDeviceDetail(QueryDeviceDetailRequest request);

    QueryDevicePropertyStatusResponseBody.QueryDevicePropertyStatusResponseBodyData queryDevicePropertyStatus(QueryDevicePropertyStatusRequest request);

    ThingModelJsonVo queryThingModelPublished(QueryThingModelPublishedRequest request);

    Object deleteDevice(DeleteDeviceRequest request);

    void updateDevice(DeviceDto deviceDto);




}